<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <title>万信管理后台</title>
    <%@ include file="/commons/meta.jsp"%>
    <link href="${ctx}/resources/admin/css/base.css" rel="stylesheet">
</head>
<body>
<div id="loading" class="loading" >加载中…</div>
<div id="shade-div" class="shade-div hide"></div>
<%@ include file="/jsps/admin/inc/header.jsp"%>
<%@ include file="/jsps/admin/inc/menu.jsp"%>
<div id="main">
    <div id="content" class="orgStr">
    <div class="hd">
        <span>用户参数设置</span>
    </div>
    <form id="editForm">
	    <div class="switch">
	    	<input type="hidden" name="config11.id" value="${config11.id}">
		    <input type="hidden" name="config12.id" value="${config12.id}">
		    <input type="hidden" name="config13.id" value="${config13.id}">
		    <input type="hidden" name="config14.id" value="${config14.id}">
		    <input type="hidden" name="config15.id" value="${config15.id}">
		    <input type="hidden" name="config16.id" value="${config16.id}">
		    <input type="hidden" name="config17.id" value="${config17.id}">
		    <input type="hidden" name="config18.id" value="${config18.id}">
	        <p><label>个性签名显示是否关闭：</label> 
	        <input type="radio" name="config11.content" value="1" <s:if test="config11.content==1">checked="checked"</s:if>> 显示 
	        <input type="radio" name="config11.content" value="0" <s:if test="config11.content==0">checked="checked"</s:if>> 关闭</p>
	        <p><label>用户基本资料是否可编辑：</label> 
	        <input type="radio" id="config121" name="config12.content" value="1" <s:if test="config12.content==1">checked="checked"</s:if>> 可编辑 
	        <input type="radio" id="config122" name="config12.content" value="0" <s:if test="config12.content==0">checked="checked"</s:if>> 不可编辑</p>
	    </div>
	    <div class="editItem">
	        <p>请勾选可编辑项</p>
	        <label><input type="checkbox" value="1" name="config13.content" <s:if test="config13.content==1">checked="checked"</s:if>> 手机号码</label>
	        <label><input type="checkbox" value="1" name="config14.content" <s:if test="config14.content==1">checked="checked"</s:if>> 办公号码</label>
	        <label><input type="checkbox" value="1" name="config15.content" <s:if test="config15.content==1">checked="checked"</s:if>> 传真号码</label><br>
	        <label><input type="checkbox" value="1" name="config16.content" <s:if test="config16.content==1">checked="checked"</s:if>> 电子邮件</label>
	        <label><input type="checkbox" value="1" name="config17.content" <s:if test="config17.content==1">checked="checked"</s:if>> 联系地址</label>
	        <label><input type="checkbox" value="1" name="config18.content" <s:if test="config18.content==1">checked="checked"</s:if>> 邮编</label>
	    </div>
	    <p class="center"><button class="btn blue-btn" id="editButton" type="button">保存修改</button> </p>
	</form>
</div>
</div>
<%@ include file="/jsps/admin/inc/footer.jsp"%>
<script src="${ctx}/resources/admin/js/lib/jquery-1.8.0.min.js"></script>
<script src="${ctx}/resources/admin/js/common.js"></script>
<script src="${ctx}/resources/admin/js/lib/jquery-ui.js"></script>
<script src="${ctx}/resources/admin/js/config/userConfig.js"></script>
<script type="text/javascript">
$(function(){
	common.menuClicked('P10', 'C12');
	<s:if test="config12.content==1">
	$(".editItem").show();
	</s:if>
});
</script>
</body>
</html>